<script src="/aifish/common/check.pjax.js"></script>
<article>
    <div class="toc-affix" style="width: 90px; height: 150px;">
        <div class="ant-affix" >
            <ul class="toc demos-anchor">
                <li><a href="#src-components-Button-demo-primary">默认样式</a></li>
            </ul>
        </div>
    </div>
    <section class="markdown">
        <h1>列表组</h1>
        <section class="markdown">
            <p>列表组件用于以列表形式呈现复杂的和自定义的内容。</p>
            <h2 id="何时使用"><span>何时使用</span><a href="#何时使用" class="anchor">#</a></h2>
        </section>
        <h2>代码演示<i class="code-box-expand-trigger anticon anticon-appstore" title="展开全部代码"></i></h2></section>
    <div class="ant-row" style="margin-left: -8px; margin-right: -8px;">
        <div class="ant-col-24 code-boxes-col-2-1" style="padding-left: 8px; padding-right: 8px;">
            <section class="code-box expand" id="src-components-Button-demo-primary">
                <section id="J_vue_4g5l7z4b1t6" class="code-box-demo">
                    <div>
<ul class="list-group list-group-unbordered">
  <li class="list-group-item">
    <b>Followers</b> <a class="pull-right">1,322</a>
  </li>
  <li class="list-group-item">
    <b>Following</b> <a class="pull-right">543</a>
  </li>
  <li class="list-group-item">
    <b>Friends</b> <a class="pull-right">13,287</a>
  </li>
</ul>
                    </div>
                </section>
                <section class="code-box-meta markdown">
                    <div class="code-box-title"><a href="#src-components-Button-demo-primary">默认样式</a></div>
                    <div>
                         <p>向元素 ul 添加 class <code>.list-group</code>向元素 li 添加 class <code>.list-group-item</code></p>
                    </div>
                    <span class="collapse anticon anticon-circle-o-right" ></span>
                </section>
                <section class="highlight-wrapper highlight-wrapper-expand">
                    <div class="highlight">
                        <pre class="language-xml">
<code >&lt;ul class=&quot;list-group list-group-unbordered&quot;&gt;
  &lt;li class=&quot;list-group-item&quot;&gt;
    &lt;b&gt;Followers&lt;/b&gt; &lt;a class=&quot;pull-right&quot;&gt;1,322&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&quot;list-group-item&quot;&gt;
    &lt;b&gt;Following&lt;/b&gt; &lt;a class=&quot;pull-right&quot;&gt;543&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&quot;list-group-item&quot;&gt;
    &lt;b&gt;Friends&lt;/b&gt; &lt;a class=&quot;pull-right&quot;&gt;13,287&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;</code></pre>
                    </div>
                </section>
            </section>

        </div>
    </div>
</article>